home *** CD-ROM | disk | FTP | other *** search
- STREET03.MOD--Addition to Tolkien's ENHANCE.MOD
- Streetdoc #1 @2503
- Fri Dec 20 19:28:28 1991
-
-
- /***********************************************************
- MODNAME: STREET03.MOD Date: 12/20/1991
- Difficulty: NOT
- Version: 4.20
- Author: Streetdoc 1@2503 --Addition to the ENHANCE.C mod by Tolkien
- Function: Adds "Fancy Ansi" to your defaults menu.
-
- Why: If you are using the ENHANCE.C mod by Tolkien then you can use
- this to add the fancy_ansi sysstatus bit in your D)efaults menu.
- This way, the users can select whether or not they use the Fancy
- Ansi stuff.
-
- BTW, Tolkien, GREAT MOD!!! :) Thanks!
-
- (Insert favorite disclaimer here........)
-
-
- ****************************************************************/
-
-
- Search for these lines in defaults.c in void print_cur_stat()
-
-
- pl("5. Configured Q-scan");
- pl("6. Change password");
- pl("7. Update macros");
- if (okansi()) {
- pl("8. Change colors");
- npr("9. Full screen editor: %s\r\n",
- ((thisuser.defed) && (thisuser.defed<=numed))?
- editors[thisuser.defed-1].description:"None.");
- npr("A. Extended colors : %s\r\n",
- (thisuser.sysstatus & sysstatus_funky_colors)?"Yes":"No");
- }
- npr("B. Optional lines : %d\r\n",thisuser.optional_val);
- if (okansi()) { /* ADD */
- npr("C. Fancy ANSI : %s\r\n", /* ADD */
- (thisuser.sysstatus & sysstatus_fancy)?"Yes":"No"); /* ADD */
- } /* ADD */
-
- Also in defaults.c in void defaults.....
-
- do {
- nl();
- helpl=4;
- if (okansi()) {
- prt(2,"Defaults: (1-9,A-B,?,Q) : ");
- ch=onek("Q?123456789ABCW"); /* add the C */
- } else {
- prt(2,"Defaults: (1-7,B,?,Q) : ");
- ch=onek("Q?1234567BW");
- }
-
-
- Further Down......
-
- case 'B':
- optional_lines();
- break;
- case 'C': /* ADD */
- if (thisuser.sysstatus & sysstatus_fancy) /* ADD */
- thisuser.sysstatus ^= sysstatus_fancy; /* ADD */
- nl(); /* ADD */
- prt(5,"Use Fancy ANSI? "); /* ADD */
- if (yn()) /* ADD */
- thisuser.sysstatus |= sysstatus_fancy; /* ADD */
- break; /* ADD */
- /*************************************************************************/
- One more thing.....
- In ENHANCE.C in void spin(blah,blah) I changed this line to allow regular
- Ansi users to still have the original colors. The way it worked before was
- Non-Fansy_ansi users only had white instead of the intended color.
-
-
- }
- } else {
- outstr(s); /* changed to prt(d1,s); */
- }
- echo = i1;
-
- /* This stuff works for me....if you have a problem, I'm not responsible */
- 2Streetdoc's Bar and Grill--7Tuscaloosa, Alabama--4205-391-4982
- 3Autovalidation of WWIVnet Sysops--1WWIVnet 2503/VirtualNet 2503
- 7Soon to be using Intel's 14.4EX Modem!